<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head></head>
<body>

	<h2>마스터 코드</h2>

	<p>${mcode} 코드의 서브 코드 리스트입니다.</p>

	<table data-role="table" id="movie-table" data-mode="reflow" class="ui-responsive table-stroke">
	  <thead>
	    <tr>
	    	<th data-priority="1">id</th>
	    	<th data-priority="2">mcode</th>
	    	<th data-priority="3">code</th>
	    	<th data-priority="4">name</th>	
	      	<th data-priority="persist">description</th>
	    </tr>
	  </thead>
	  <tbody>
	  	<c:forEach var="codeSlave" items="${codeSlaveList}">
	    <tr>
	      	<th>${codeSlave.id}</th>
	      	<td>${codeSlave.mcode}</td>
	      	<td>${codeSlave.code}</td>
	      	<td>${codeSlave.name}</td>
	      	<td>${codeSlave.description}</td>
	    </tr>
	    </c:forEach>
	  </tbody>
	</table>
	
	


</body>
</html>
